RAS final version, next up is to change reference ellipse to home ellipse