edits; hook in swaps