basic connection implemented