Coding on the purchase prepayment