Resisting peer pressure in friendships