added comments

explained myself