Use tuples for hierarchical indexing