better example code formatting