get connection working