Adding glew functionality