fixed the issue06
Merge pull request #5 from jhtsh/issue06

fixed the issue06