Brought back index as main