refactoring: tribial