put HTML fields in a constant outside of get_threads()