formatting the example code