added some support for glr