removed old unused routines