revamped section to exclude sec:m_pe
revamped section to exclude sec:r_pe
moving sec:*_pe stuff here