better syntax evaluation of arrays