Adding functions
Merge pull request #1 from kittee/master

added functions