get rid of the dep to openGL