thread for tox loop; thinking about callbacks