removed stray write to std::cout in generator.hpp