combined with compare_images