add pay for logic