added 'color' array for color index