delete test subroutine