validator and menu