Function subtraction

New function subtraction