pay money function OK