amount validation, minor formatting changes