optimization arrays