in the back of one's mind

Idiom Thinking