continued working on ch2 exercises