for menu init