moved example code
formatting