add convenience functions
remove spurious import
remove trailing white space
Merge pull request #19 from ibotty/master

add convenience functions