Swap defines