refactor content writing workers