does list<structure> var [10] work ? as [] operator is not available for lists but to my surprise it works well.