check and radio in tree