formatting on index