wip: editing the GLM part