format index