replaced arrays of images by unmodifiable maps