adding features

last piece of code to make new HT mode work