NXBOOK-743 completed cahpters 5 and 6