allow states to be listed in any order (#6)