Fixed function naming issue