improved footprint- reduced Boolean objects to primitives where possible