It's 'func' not 'function' :)