Fixed missing 'function'
Merge pull request #67 from ferminolaiz/master

Fixed missing 'function'