1. Accepted an offer from A
2. Got another offer from B that's much nicer
3. (still more than a month from start date with A) Negotiated with A and signed another agreement: one month salary as compensation to be refunded if I were to join A within 5 years.