basic connection working