Updated example with detailed output.