Pretty formatting index