subfunctions w timings on 30 tests