half way through getExpense
javascript bites again, should change to typescript when possible