Part of exercise 1.6