Refactored code to improve code readability