add functionality for change images