changed from attributes to items