added places to store the ellipse info in state