compatible with GLI 2.0+