add example from alexandrescu book