Replacement of LineFoundNum variable by LineFoundArray[0]