added comments, mostly