Added subtract and mixed mode to the app.