added code example
code update