items array replaced by hash