make example code simpler
make example code simpler