Ensured that friends are not repeated