reference in parallel code added