startGraphics method