change if/for order.