added custom payout funtionality