working menu with template adding