as a by-product
incidentally
adv
-
In an incidental manner; not of central or critical importance.
-
By chance; in an unplanned way.
-
Parenthetically, by the way.
How often have the words as a by-product and incidentally occurred in a corpus of books? (source: Google Ngram Viewer )