removed dependency on thread-mt