add some demo code