ex 11
done exercise 12