chaned to OpenGl