Add better logging
Log ints and floats
Refactor get_amount to take an argument