complete the Image View Program