got images in to the arrays