factorization of tree code
new menus
recent action