tested ex 2.11, completed ex 2.12