there is nothing in glm and std for this?