ref list refactoring