I moved this with the read body code so that it did not change functionality of the current code