solve the function naming misleading problem