fraction containers refactoring