reformat and added examples