getting index layout