added lots of features to tedit