updated to search for more pictures