no longer converting the amount, the lib now accepts only int