adding links and refs