added ellipse mask option