added scan class