Error: list was not initialized.