the offense of attempted armed robbery. The indictment in this case alleged that the defendant took a substantial step toward the commission of armed robbery by ordering the victim from the car and shooting him. The defendant correctly observes that the prosecution failed to present any evidence that the defendant ordered the victim from the car, and the defendant therefore argues that he was not proved guilty of the offense. The defendant notes that, although Moore told the victim to exit the car, the defendant was not tried on an accountability theory.

The defendant does not contend that the indictment is defective, or that there was a fatal variance between the language of the indictment and the evidence offered at trial. Indeed, it appears that the allegation in thecarjackings while they were driving around just before the victim's murder. The driver, Howard McClinton, expressed the view that older persons were less likely to be armed than younger persons, and that theory apparently motivated their selection of the victim in this case. After McClinton drove into the parking lot, Antoine Moore got out of the Mercedes and tried to open the door of the victim's car. When the victim's door did not open, Moore ordered the victim from his vehicle. When the victim refused to comply, Moore got back in the Mercedes. At that point the defendant got out of the car and fired a shot at the victim's window, shattering it. The defendant next fired a shot at the victim, striking him. Viewed in a manner