added comments, updated description