New lines for exercise 2c added