Improved line location