adding utility method
Merge pull request #1 from teripaquitinho/master

adding utility method