commiting exercise 5-2