added comments to code review