determinegs2