removed domain1 issues, now accepts multiple images