week 2 homework : create a dynamic rewrite of the payment data helper