added some functionality for image one