formatted example code