Title: The structure of the outer atmosphere of cool stars