index modified version 1