remove unused routines (2)