thread seems to be bad. how convenient!