scanWithConfiguration