Lines 91 to 93 can be moved inside the if branch.