small optimization
Merge pull request #18 from vmachuca/master

small optimization