add function readNextStringto() for read in input
change interface and parameters parsing