eliminate old unused code