exercise 2.44 up-split