preparation for disconnected mode