added from exercise 1