remove debug code
add some comments
Merge pull request #1 from ioanvapi/work

update
Merge pull request #2 from ioanvapi/master

update