run sequentially and in parallel