swap summaries logic