add check for the existence of friends