change order of operations.