Corrected function definition
Merge pull request #10 from Xeno-Genesis/master

Corrected function definition