Changed explicit call of linenumber to take from the size of the line
array list