applying refactoring in PriorJView and integrated with reports.