minor update
add a sample code