Code shuffling.

Reformatted to an if/else to make it clearer that one of two things is happening.