added insertExpense function