adding scan.l