atomic swap worked