gets the sum of money