chapter7example4