write some document and fix a small bug on how to use.