added comments, updated readme