added explanatory comments
added some explanatory comments