add a sample to show how to use par set
add a sample to show how to use par set