stores store bools as ints. make getBoolean aware of that
add more scoping. test1c closer to compiling but hitting forward decl errors again.