Shouldn't this line go below the if block?