cosme: refactoring