modified analyzer view and added result_viewer