added error, added AddLine/AddPoint