making the output match what actually happens