Why an array instead of an object?