added new funciton
Merge pull request #4 from johnchase/master

added new funciton