- added ReadFromString method to parser