Refactored Code
Refactored Code