add summarize command to loop