support for reading threads