almost finished chpt 4