reshaping of sections 5 and 6