demo for GLMr