Refactored code (JHS)