generated models usinf rmre