handful of new functions
Merge pull request #7 from mr-david/funcs

handful of new functions