Clarified the code