documented example fixed