added comments, updated README,md