using adt to connect