graphics class created