Removing an input buffer, adding results and a test for the formula used