Incorporating Marco's comment to make the code more readable