added graphicsclass