implemented stringstream for snp function output