Changing a N5 program to a Higher subroutine