formatting in index.