change precision for amount to 10