improve / end detection
Merge branch 'master' of http://github.com/ghostotof/pds-tp2