Modified Part 1(b) to not use synchronisation