fixed issue 6
Merge pull request #9 from Williangalvani/#issue6

fixed issue 6