the first process and some parts of the second process