Added explanation for the use of stringstream in comments