it crossed my mind.

listen to the pronunciation of it crossed my mind.
English - English
it occurred to me, I thought, the idea struck me