Escaping the prisoners’ dilemma