added sample code
added 20140518