initial opengl work