重构examination manager