removed `function` keyword for maximum portability
Merge pull request #44 from mlloreda/portability

removed `function` keyword for maximum portability.