updated where the check on available TDs is done