have to convert amount to integer