Removed use of pointer for reference to lines