duplicate function

I probably messed up the pull request
Merge pull request #6 from joonjoonjoon/patch-2

duplicate function