created new function for reward delivery via pump