support for loading both images and words