ArrayStorage implementation