OF to GLM functions