add work stealing functionality