changes in terrain.py needed for developing client tests