Code from benchmarking article