Getting the index now, by compiling twice.