implementation of pay action