check for gs before using it