added main variables (monthly income and expenses) within the function