change amount from double to int
and change amount from euro to cents