nested paralellism working - not the best performance though