adding 3rd attempt at opengl