split up to sequential and paralell