Fixed missing 'function'