keep around things in global scope to ease debugging