re-structuing example for annontated documenation generation