gc - adding initial functions for StringParserTerrain.scala