adds stages 3 and 4