move the summary in a summary method