isAdded is internal; why we need it here?