further reimplemented terrain