removed coreGraphics