chaper 2, version 1 finished