refactor class eligibility. improve layout. refactor view.