examples of parallel patterns