Improved example with expenses