some changes to Ror