Update ex1 and added ex2