hookup core-menu functionality