doc
reformat code