Changed sequence of operations.