add basic drawing functions