partially done for index server