PP:WS2:added parallel code