refactor ReffedBy into two