erased unused function definition