swap for cocoon