Changed parallel approach for lab1