proof of concept for "thread" feature (you've got to rebuild the db with the new script I updated)