The contracting and unshearing motion of flare loops in the X 7.1 flare on 2005 January 20 during its rising phase