attempting to store square pointers in list