trying some different changes for opengl 3.1