updated print method for summaries