More efficient friend lookup