added Gen.compare and Gen.eq functions