solution for Cash machine