switch function names to camelCase