improved example code to exactly match the required syntax.

improved example code to exactly match the required syntax.