ex1 and ex3 in progress