wrote ex3