added comment on imageArray