pgcd creation