added stuff to exercise 30