added utilities, tests, and benchmarks