remove old unused functions