create terrain function added