When you are stuck, sleep on it. Let your subconscious work for you.
The concept of purpose has no place in a scientific account of behavior.