For exercise 4a