added some performance benchmarking; does not work right yet