swap out spaces