terrain class work in progress