adding stages 2 and 3