sections 1, 2, 3, minor changes in other sections, fig 1