Learning alliances in Northern Nicaragua