removed array ref were not necessary