solved ex5