added comments

I added comments so things are clear