- added convenience function
Merge pull request #48 from aschnell/master

- added convenience function