change amount:String to amount:Integer
chapter7