First part of social network assignment