#include <bits/stdc++.h>
using namespace std;
#define GET_MACRO(_1, _2, _3, NAME, ...) NAME
#define _repl(i,a,b) for(int i=(int)(a);i<(int)(b);i++)
#define _rep(i,n) _repl(i,0,n)
#define rep(...) GET_MACRO(__VA_ARGS__, _repl, _rep)(__VA_ARGS__)
#define mp(a,b) make_pair((a),(b))
#define pb(a) push_back((a))
#define all(x) (x).begin(),(x).end()
#define uniq(x) sort(all(x)),(x).erase(unique(all(x)),end(x))
#define fi first
#define se second
#define dbg(...) _dbg(#__VA_ARGS__, __VA_ARGS__)
void _dbg(string){cout<<endl;}
template<class H,class... T> void _dbg(string s,H h,T... t){int l=s.find(',');cout<<s.substr(0,l)<<" = "<<h<<", ";_dbg(s.substr(l+1),t...);}
template<class T,class U> ostream& operator<<(ostream &o, const pair<T,U> &p){o<<"("<<p.fi<<","<<p.se<<")";return o;}
template<class T> ostream& operator<<(ostream &o, const vector<T> &v){o<<"[";for(T t:v){o<<t<<",";}o<<"]";return o;}

#define INF 1120000000
#define MOD 1000000007

long mod_pow(long x, long n, long p=MOD){
  if(x==0) return 0;
  long res=1;
  x %= p;
  while(n>0){
    if(n&1) res=res*x%p;
    x=x*x%p;
    n>>=1;
  }
  return res;
}
inline long mod_inv(long x, long p=MOD){ return mod_pow(x%p, p-2, p); }

long inv2[200];

long p[1<<15];
bool g[15][15];

int innum[1<<15];
int outnum[1<<15];
int outs[1<<15];

int main(){
  int n,m;
  cin>>n>>m;
  fill(g[0], g[15], false);
  rep(i,m){
    int a,b;
    cin>>a>>b;
    a--;b--;
    g[a][b] = g[b][a] = true;
  }

  inv2[0] = 1;
  inv2[1] = mod_inv(2);
  rep(i,2,200) inv2[i] = inv2[i-1] * inv2[1] %MOD;

  rep(mask,1<<n){
    innum[mask] = 0;
    rep(i,n) rep(j,i) if(g[i][j] && (mask>>i)%2 && (mask>>j)%2) innum[mask]++;
  }

  for(int ini=1; ini<=2; ini++){
    p[ini] = 1;
    rep(mask, ini+4, 1<<n) if(mask%4 == ini){
      // calc p[mask]
      p[mask] = 1;
      for(int nmask = (mask-1)&mask; nmask>0; nmask = (nmask-1)&mask) if(p[nmask]>0){
        int dmask = mask - nmask;
        int cnt = innum[mask] - innum[nmask] - innum[dmask];
        p[mask] -= p[nmask] * inv2[cnt] %MOD;
      }
      p[mask] %= MOD;
      if(p[mask] < 0) p[mask] += MOD;
    }
  }

  rep(mask, 1<<n) if(mask%4==1 || mask%4==2){
    outnum[mask] = 0;
    outs[mask] = 0;
    rep(i,n) if( (mask>>i)%2 ){
      rep(j,n) if(g[i][j] && ((mask>>j)%2 == 0)){
        outnum[mask]++;
        outs[mask] |= (1<<j);
      }
    }
  }

  long ans = 1;
  rep(maskA, 1, 1<<n) if(maskA%4 == 1 && p[maskA]>0){
    int invmask = (~maskA)&( (1<<n) - 1);
    for(int maskB = invmask; maskB>0; maskB = (maskB-1)&invmask) if(maskB%4 == 2 && p[maskB]>0){
      if(outs[maskA]&maskB) continue;
      if(outs[maskB]&maskA) continue;

      ans -= p[maskA] * p[maskB] %MOD * inv2[outnum[maskA]+outnum[maskB]] %MOD;
    }
  }

  ans %= MOD;
  if(ans < 0) ans += MOD;
  rep(i,m) ans = ans*2%MOD;
  cout << ans << endl;

  return 0;
}
