edit example code