can now specify a base to convert from