Implement ch3.3.4's examples (in progress)