edited so array includes all pictures