changing drawing functions