Added Threding to Index