correct syntax in expenses factory