I'd made my plan whilst I was waiting for her.
I came up with a plan while I waited for her. 
mnli hypothesis: I came up with a plan while I waited for her.  premise: I'd made my plan whilst I was waiting for her.