main with menu