New lines for exercise 2c added corrected