ostream added to tostring