everything done up to section 3