Added more functions to payment