improved tdm examples remove Dictionary as it is Depracated