fixed bug in scenario one + added scenario two code for benchmarking