handles line numbers with more than 1 digit