started programmatic control of side tree, but still lots of work to be done