check for gl