writing subtract function2