Scan: first stage of scan working