added comments

commented code