ostream << works