adding disconnect and isEnabled