config the array and rendering with winner