added parameter to inidcate in which order the operation should use the parameters ( a - b or b - a)