Updated processes 6, 7, 8 and 9b. No debugging yet.