some progress in sections 4-5