Implemented a list to store the instantiated objects.