added global var to store the current line across the application