Switched to pointer based graphicsengine