Made the code more readable