Reordered and simplified.