added nameId to items array