added iostream friends