LineScan datatype changed to int