better code in make-outline-manager