added image scan class