expenses function

expenses function