added drawLineTo, makeRegular and drawRegular