simple test function for benchmarking..