initial rendering of images