rem magi