changing order to recover the r