link adding functionality added