Connection to correct tables