Why are there two threads for this?