delete unused subroutine