formats index.  no clue