Fixed typo and function output
Merge pull request #5 from Dust1n/patch-1

Fixed typo and function output