use `this` instead of `ThreadUI` here