remove an unused function