swap objects around