Improved example code
Improved example code