Added add and subtract function