GLM functions built in MapReduce format