reduce nesting of CBState