connection setup working