modifiy condition to show image of frinend
merged