added first steps of the repay feature