added find friends function