partially did part 4 (adding FormGraphics class)