add code to draw images for model data