replace worker class