ATM case study - first version - without any pattern or design principle - Same as book