Before erease the list and use references to the mean