deleting routines