adding scanning