removed unnecessary code from glm_create
debugging load_static