typo in adding states together