parsing states list