Removed unused subroutine