Stata to state on thot