Fixed name errors and return a formated result
Merge pull request #1 from adrianmiu/master

Fixed name errors and return a formated result