purchase_step

adding purchase_step parameter, cleaning up formatting