clean out old unused function