added sample code and two more docs