ex1 and ex2 complete