removed gmp dependency