Of alternative and parallel parts of program into synchronised tasks