worked on GameStateStream and StringStream