added bench_qap