began code for viewing individual threads