added more stuff to end tilebag swap test