added view friend's method