Implementing RFPE for lmr