added sample definition file
added comments to sample