can't make swap distance func so fuck it