added disconnection depth