Ex17 almost done. Test not implemented