Prepare to scan