added work from chapt 1