solved ex1