fleshed out the basic structure for height control.