Updated example to show deep history working