Updated variables in function
Why we use EWs and other lines to measure