to discover (no prep)
Verb + preposition (or no preposition)
They discovered a new species in the jungle.
—How did you find the error? —I discovered it while reviewing the code.
He discovered his talent for music as a child.