get rid of old unused code