refactored friend-links