Replaced std::endl with "\n"