Adding code to store column moves