initial revision.
add sample code.