code order changes