adjusted Ex3