final test runs. removed printfs