Removed useless-code comments and added explanatory comments