cleaned up large number handling