stuff
Updated the middleStep.