added show friends function