add little code for social network