enhancement to func methods
Merge pull request #10 from kishorekumarmohan/master

enhancement to func methods