changed to OPENGL rendering