history server-> main server