get rid of an unused function