adding menu directive