rename function name, getting error