trying to format the example code