debugging ostream operator