added menu templating