fixed issue with lists and arrays.  cleaned up benchmarking code