compiles and getting closer to getting parallel regions working