prepare to add pay fun