Added namespace specification for getline