Fleshing out the terrain writer