refactor related item helper