theory - by thread