working on the cashpoint functionality