adding links and preferences