only add line numbers if the n field is populated