parametrize ellipse, make top of habanero semicircle instead of trapezoid
refactor isspace out of issymbol