commiting exercise 7-2