adjusted TH to work