refactor friends' data