stringstream implementation means header is stored here