add getTerrainType(string &) method
create a new object instead of clean the old one