constructor and zeichnen functions