base connection