added prototype
Merge pull request #5 from ichfly/master

added prototype