modular medals refactor