replaced std::getline with custom implementation