Code typed from book