thread var not needed