Restored basic single and multiple line scanning