removing bad images and adding good ones