Welcome to Clean-Code! This is a sample example of Refactoring the existing code. Here I have followed the principles from Refactoring: Improving the Design of Existing Code by Martin Fowler