adding links and key