fixed code formatting for example code