remove unused routines