Some refactoring for readability and added possibility to provide required message
Merge pull request #83 from alenmilk/master

Merge pull request #83 from alenmilk/master

 Hi, I used your code in my project and added the possibility to provide custom required message