getAmount method
cleanup
cleanup