add some sample codes.