making some changes to states