Global variables for getline func