changed order of assignment and submitDelta