ex1 and ex2 as part of ex3