added preliminary summary and visualize functionality