Added thread classes for LS correction