added a template for rebalancing
added emacs suggestions from ergoemacs