refactoring charts