relic menu refactoring