working process of cash machine