efficent processing of indexs