upgrade to new glmTools