added some functions
Added new functions
Added new functions
Merge pull request #8 from johnchase/master

added some functions