Nomials refactoring