adding support for multicore indexes