updated scanning