added preliminary stuff for image display