refactor relateTo to handle chapters