added image comparison