revision number up
fix sample code a bit.