fixed menu example following refactor