updated refactoring notes