What is one way that the confederatw states of america was similar to the United States? What is one way it was different?