reordering instructions