Setting return

totalProfit = calcProfit(income, expenses)