forgot extern word before the exported function