Had assignment swapped backwards.