Fixes, added 'function' which is the same as method