added some functions
Merge pull request #27 from krux02/master

added some functions