work on sec 3 and 4, structure