A dynamic model for social networks.