finished up tidying up terrainController