Title: Analysis of line formation in stellar winds