templates and menu bar