refactor supplement