resolve function naming conflict