fully works now with gmp library addition, woot!