Remove std::cout, old functions