add refactor notes