parallel.implemetation