check for index initialisation