added view images, function remaining to implement