added some basic benchmarking code