Finish ex 5.6 exept tests on num 3 dont work