remove old unused code