add reference links instead of repeating