modified timdiscovery