adding disconnect