graphics and error excercises