added some GLM stuff