added GLM weights