Look again :). This whole set of lines just moved before the trigger.