add refactoring notes