refund function was private moved to public

Moved Refund function to correct location