ireordering of the code