gcd class added