working on the text book 2