swap init delete