small ch.1 changes, small rework of problem 1b