adds some edits to worker class