multithreading support (works through containers)