add summary and finish