add some sample code