Forgot to add this important thread wrapper