add totalAmount as transient attribute
simple file upload support