Paths to democracy :revolution and totalitarianism