bugfix, had inadvertenly declared some class-level variables. mea culpa