just beforepreppreposition: Relates noun or pronoun to another element of sentence--for example, "a picture of John," "She walked from my house to yours."
(a moment prior to)
就在…之前 jiù zài zhī qián
在…前刚刚 zài qián gāng gāng
I like to have a hot bath just before I go to bed.