removed vars, unclear if making a difference by globalizing to prevent GC;