streams - terrainFunction and findChar