Initialize 'amount' variable to 0