change line 52 , images[0] to images[1]