tidy connect()