moved benchmarks to macros. Very useful