first attempt at move swapping