to pass menu ok