Utils for array storage