Social memory as an instrument of social influence