this line call destructor for each element