basic GL integration