new exercises ex5 and ex6 complete