add keys and colors to items