polishes the secondary and primary view.