exercise 2.5
fix exercise 2.5