Can you move these to the top of the method, so that it's easier to see that we're validating them?