created 3 functions, final
Merge pull request #9 from ahirooka/master

created 3 functions, final