part of opengl adding