Added a comment and simplified code.