Switched std::cin for std::getline.