Added some sloppy terrain code