printit rather than std::cout