I think what you’re looking for are arrays, no?
At least that’s how I understood your question. Maybe something like that?