Quick question!
遠くまで行く内に雨が降り出しました。I had not gone far before it began to rain.
I have a loose grasp on the grammar of this sentence, but I'm being tripped up by uchi ni. Its definition doesn't lend itself to mean 'before it began' but that must be what it's doing here.