add demo for parallel() method