changed money figures from int to double