Reformat example code