forgot to save, THEN commit. more if logic adjustments on the corners