Fixed null pointer bug (operation variable was not instantiated) and added subtraction method