Never mind, I think a dict is indeed better.