exercise 2.45 split procedure